<template>
  <div class="box">
    {{ hello }}
    <a-button @click="sendReqest" type="primary">发送请求</a-button>
    <a-date-picker v-model:value="value1" />
  </div>
</template>
<script setup lang="ts">
import { ceshiList, userList } from "../api/user";
import { ref } from "vue";
const hello = ref("hello world");
const value1 = ref("");
const sendReqest = async () => {
  const res = await userList({});
  console.log(res);
};
</script>
<style lang="scss" scoped>
.box {
  color: #60d659;
  .ceshi {
    font-size: 30px;
  }
}
</style>
